package com.example.disk.controller;


import com.example.disk.service.DownloadService;
import com.example.disk.util.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.InputStream;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author auto
 * @since 2020-07-15
 */
@Controller
@RequestMapping("/download")
public class DownloadController {
//    @Autowired
//    DownloadService downloadService;
//
//    @RequestMapping("/downloadFile")
//    @ResponseBody
//    public Response downloadFile(String username,String path,String extend,String aimPath){
//
//        return null;
//    }
}
